const HTTP = require("./request");
const {url} = require("./config");

module.exports = {
    getHomeBanner:function(){
        return HTTP({
            // method:"post",
            // data:{},
            url: url+'/api/public/v1/home/swiperdata',
    })
},
getHomeGoods:function(){
    return HTTP({
        url: url+"/api/public/v1/goods/search"
    })
},
getGoodsDetail:function(data){
    return HTTP({
        url: url+"/api/public/v1/goods/detail",
        data
    })
}
}